QT       += core gui network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
DEFINES += QT_NO_DEPRECATED_WARNINGS

SOURCES += \
    main.cpp \
    mainwindow.cpp

HEADERS += \
    mainwindow.h

FORMS += \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target


win32:{
    win32-g++ {
        LIBS += -L$$PWD/libssh/libssh-0.11.0/_install/lib/ -lssh

	INCLUDEPATH += $$PWD/libssh/libssh-0.11.0/_install/include
	DEPENDPATH += $$PWD/libssh/libssh-0.11.0/_install/include

    }
    win32-msvc*{
        LIBS += -L$$PWD/_msvc/x64-windows/lib/ -lssh

	INCLUDEPATH += $$PWD/_msvc/x64-windows/include
	DEPENDPATH += $$PWD/_msvc/x64-windows/include
    }

    LIBS += -lwsock32 -lws2_32 -lcrypt32 -liphlpapi -lnetapi32 -lversion -lwinmm -luserenv -lPsapi -lkernel32 -lAdvapi32
}

unix|win32: LIBS += -L$$PWD/libssh/libssh-0.11.0/_install/lib/ -lssh

INCLUDEPATH += $$PWD/libssh/libssh-0.11.0/_install/include
DEPENDPATH += $$PWD/libssh/libssh-0.11.0/_install/include

include(qTerminalWidget/qTerminalWidget.pri)
include(libsshUtils/libsshUtils.pri)
